fixed typed get issue with boolean variables