set connected value properly..