Fix arg order in scan example, thanks to @d4gg4d