fix resolution to model size