Fixed typo in model.set