models save method fixed