fix current route bug