Fix wrong member variable names #113

- $task -> $tasks