fix the table not found issue