fix interface fix #6