midify crop model, fix bug