Fixed a null reference exception

DefaultSettings is apparently null if never set.