working to solve route errors