remove connection with input