Edited the queryhandler class

fixed the textbox tag-bug