add accept filter. closed #13.