move empty parent detector