removed invalid empty attributes