fixed table names in sql file