add filters for attributes and fields