Update checkTables.php

bugfix