support non-array parameter, with default 'element' property