encoding adjusting