fixed handler http 405 error