correct way to add an element into an array. Fix filters key