Clean up the path settings