fix models scope