Fixed bug with route