Fixed new task bug