Fix settings stuff.