added undefined is like empty array option