bug fix: filter array

- array was not working