fix if content is not an array