another flatten_example fix