fixing "save"