fix bug in multi-table range error
improve grouper a bit
0.6.7