adding back path_remove