fix for task execution