fixing model loader issue