Solved bug with routes