solve error in process filter: Args out of range problem