routing errors fixed

still working out route bugs