fix compability mode with firefox