fixed bug
improved init & clean tasks