required array values must contain 1 element

fix for #266