tweaks to filtering