fix for clean_path