Adjust the action order in Put function.