handle special tags when unpacking.