fix boolean setter and getter