fixing slight filter errors