fix if path=null to pass test