clean up junk in main mod file