fix bug with route