fixes to routes