fix flatten