change unionedscan extends to scan