fixed classId bug