adjust all encoding settings