it works without 'SHOW TABLES' query now.