more fixes for the settings stuff.