fix call to model