rename internal function in http handler