fix the bug of write wrong word of speciality