fix bugs caused by uncorrect word spell