html entities fix array