improve table entry exclusion