Fixed bug in add route