Fixed issue with 405 routing