website: more update for query feature
command/query: remove the trailing newline from a response