Fixed bug that prevented loading some modules