fix for the PUT