fix unpacking packed field with id > 16