fix connecting interface