modify filter abstract class