minor - fixed returned value of scan_path method