Generalize fix_e26()