fixed bug; include queries_helper patch right into _helpers