Add task check date

Add task check date and fix more bug