some fixes for filters