Fixed a bug, causing modules not to laod