union scan fix