clean up crap in main mod file