fix interface types