Fixed problem with routes