fix remove connections