fixed the bug of displaying word definition type.