fix array selector