better HTMLstat parsing