correct bug for attributes with underscore