fix error on model not found