general route cleanup