Submission date not saved properly