fix getting models