fixed in_array