       plan =
         code       : res.plan.plan_code[0]
         title      : res.plan.name[0]
-        desc       : if res.plan.description[0].$ then "" else res.plan.description[0]
+        desc       : if typeof res.plan.description[0] is "string" then res.plan.description[0] else ""
         feeMonthly : parseInt res.plan.unit_amount_in_cents[0]['USD'][0]['_']
         feeInitial : parseInt res.plan.setup_fee_in_cents[0]['USD'][0]['_']
       callback no, plan

            plans.push
              title      : p.name[0]
              code       : p.plan_code[0]
              desc       : if p.description[0].$ then "" else p.description[0]
              feeMonthly : parseInt p.unit_amount_in_cents[0]['USD'][0]['_']
              feeInitial : parseInt p.setup_fee_in_cents[0]['USD'][0]['_']
      callback no, plans

          plan =
            code       : page.plan.plan_code[0]
            title      : page.plan.name[0]
            desc       : if typeof page.plan.description[0] is "string" then page.plan.description[0] else ""
            feeMonthly : parseInt page.plan.unit_amount_in_cents[0]['USD'][0]['_']
            feeInitial : parseInt page.plan.setup_fee_in_cents[0]['USD'][0]['_']
          callback no, plan
