honor default path if path is not set