fixes some be_true/false deprecation warnings