fixes to routes file for non-www