fixed all the issues with tasks.