fix bug: get current task
fix bug: handover task, get a new task