Fix data array method and htmlcontent