fix bug for txt record