Fixed bug where modeline would display "*invalid*"