modify filter prototype