fix Model.remove