* Bug fix: was using lable instead of table for db table names