fix interface parsing