fixes scan2 renamed to scan1

This is actually painless because later scan0 is created, but still is a mistake.