fixed Connection problems