fixed PDF scanner; minor mod in scan_rar