check for a nil value before loading config