fix boolean syntax