Fix .txt bug