fix previous attributes