add encoding filter