fix bug of app crash when pressing Ctrl+D
fix bug of cannot lookup word content space