bug fixes to filters