fixed error on loading modules