date submission bug fix