reorganize attributes