fix key missing on array warning