removed validation on encoding