remove empty element