fix interface data structure