fix iterate deep