make sure to remove empty elements split line for some formatters