fixed bug in querybuilder cache