I need help to flatten this element