fix time/get http handler bug