Fixed taskManager.