Resolved 3 errors the routes