fix the issues after adding database name to ahead of table name;