fix crash caused by trying to connect monitor section before it has ports.