fixing filter error message