fixing table name to lower case