clean attributestate
align data