SCAN - fixes

* fix for some ugly error in resutls diff
* fix for Scan API