fix up encoder validation