fix empty attribute