when validating, set output as text/plain