Fix error => use array_key_exists not in_array!