fix http HandleFunc bug