fix POST and PUT method malfunction