fixing translation of booleans