Fix some settings stuff.