fill right fix_free_writebuf()
add good/bad selects and fix json