bug fixed about routes