fix bugs with request time header