Fix bug when use table not found