check headdict not entrydict