The problem is in the bitwise "or", you should use "||" to avoid the second call