cant get routing to work correctly