cleaning up modes.el