changed table names upper case to lower case
minor fixes