unify scan and drop