typo in scan result cb function