prevent encode submitted candidate data