remove case ignoring of entity reference.