save method fix