fix put and post save