better artifact detection