Correct lang for preview mode.
Fix form resubmission issue.