remove useless code
http handlers