fixed attributes compley type bug