fixed table not found problem