fixup size of terminal item