fix interface conversion bug