fixed scraping of unit for two kinds of tables