bitwise correction