fix for type in filters.py