fixed save changes not working