fix interface bug