bugfix: return after 405 response