fix task.php