fix active state for modeline