get task has a bug on getting same task instead of new task.  added a logic to compare taskid. if taskid is identical, the system should recall next id.