fixed tasks view bug