made table names upper case in queries