missing import fixes send_task mode