fix add tasks