fixing some save procedures