Fix bug that prevented module from loading