Made model work properly