fixed ifesle for complete tasks/projects