Fix http server handler