fixes img not found bug when model not selected