added table config and fixed priority filtering