fix PUT issue