fixed issues with spelling the word "query"