fix error when task does not belong to project