fixed filtermode error part one