bugfix for other than GET method requests