change table names to lowercase