remove empty attribute