reinvent querybuilder method collector to allow chaining methods and fix other possible issues #274 #278