fix params for path_without_remove call