cleans up route paths