remove useless connect