platform encoding warning fix'd