Enabled statement when msg is connected