fix bool value