allow arrays to work with select