fixed issue with no value for an attribute carried value of previous attribute