add a bugfix at has.attribute(value)