allow non-array as type