0.2.1: fixing bug in table building