added some code to handle the issue when the table name has dots