Fixes the settings controller