refine the modeline