improving query values
added property to queryvalue
fixed bug