fix boolean logging not properly determining true/false