revise string encoding
fix file mods