corrected issue with GetBoolean logic