Fixed bug where it was mixing up the routes