fix tag entry problem