re-added checkTable and added a check before the tables are populated in initm1task