Clean up the path