forgot to check in tr_write/main.js