cleaned up b_pwncheck and w_pwncheck