fix infinte loop when finding models for a call