A small addition to cleanPath