remove fold for terminal lines