fix in_array order