some fixes for laoding the model