fix stack trace in automation test filter encoding