fix a bug in txt