How do you check for null value for floorsClimbed info?

Hi All,

I'm trying to retrieve the floorsClimbed info for the Watch Face. This worked perfectly on the Simulator. However, when running on the device (Fenix 3 HR), it crashed. The error is:

WARNING: Unfreed memory on exit
STORE_ID: afc04165785a4c9aacf6b19e40777a0b

ERROR: Symbol Not Found Error
DETAILS: Could not find symbol floorsClimbed.
STORE_ID: afc04165785a4c9aacf6b19e40777a0b
CALLSTACK:
...\source\TrekFace1View.mc (onUpdate:136)

WARNING: Failed invoking <symbol>
STORE_ID: afc04165785a4c9aacf6b19e40777a0b

WARNING: Unfreed memory on exit
STORE_ID: afc04165785a4c9aacf6b19e40777a0b

The code is:

if (info.floorsClimbed != null) {
var floorsClimbed = Lang.format("$1$", [info.floorsClimbed.format("%d")]);
view = View.findDrawableById("FloorsClimbedLabel");
view.setText(floorsClimbed);
}

Thanks in advance.