Errors fixed for scanresults