fixed connection getter and setter;