fixed playerattribute bug