fix gets, put, and posts