fix http request event as type eraser