Fix error when some property is missing in settings