fixed attribute problem.