fixed bug that removed all settings when FB errors