retab, add __packed and fix interface index