workaround solution for dealing with PUT