cleanup in routes