fix the bug of raising compile error at line 30 in Word