fix typo
add specialized normQuery function for the case: phrase in completion. related to #82
improve auto completion capability of server frontend to fit backend changes