fix partialy encoding code in file.