Solution for simplemode problem