Recently, the program INTMSAlign_HiSol for identifying aggregation hotspots in proteins only requiring secondary structure data was introduced. We explored the utility of this program further and applied it for engineering of the aldoxime dehydratase from Bacillus sp. OxB-1. Towards this end, the effect of inverting the hydropathy at selected positions of the amino acid sequence on the enzymatic activity was studied leading to 60% of our constructed variants, which showed improved activity. In part, this activity increase can be rationalised by an improved heme incorporation of the variants. For example, a single mutation gave a 1.8 fold increased enzymatic activity and 30% improved absolute heme incorporation. © 2021. The Author(s).