bugfix for true and false