fix small bug at filter