fix bool types