change method of generate new task ID