fix missing date problem