de-nested the routes