clean last deep_entry check