(Partially) fixed flatten