Fix when word not found.

Signed-off-by: Bao Haojun <hjbao@marvell.com>