in case path is null