[Bugfix] print word if there is no query