mode fix