Fixing assign attributes.