when :flatten is true, also accept flattened values as input
0.8.4