fixed comnection delete issue