Fixed Undefined property issue. Changed network var casing.