removes unnecessary modeline configs