fix bug when redirect to long URL