fix the add comment error for task with specific time