corrected removeConnection for '-' operation