fixing table names