fixed delete previoussubmission issue. pretty date workaround