check duplicated connections

check duplicated connections, and then disconnect those.....