Add submit flag checkers for submissions, and fixed message fields bug.