#bugfix - value is an attribute not a function