Fixed new Task error