fixed loading models from modules