fix request header cookie set error