fixed np.in1d