Made sure the getContent method returns a String object, not an element.