fix address filtering