Fix bug about filter