settings to icon, encoding bug fix