bug fix for connection type picker