small cleanup in routes