fixes for model.rev