fixed renaming attributes