replace bne with beq