update header style
fix too-many-redirect bug