task execution fixes