fixed bug with route