fix override old route bug, little codestyle fix