fix modes