Fixed the back end of the settings