Fix bitwise operators