minor bug with route