fix naming conflict for attributes