fixing data filter