minor save fixes