fixing filter stuff