ticket:1407 upd tasks.py