modify task.getcontent -> task.decodecontent

and move it into fromString