remove unneeded boolean in tasks