fix incorrect filter callback