ReactiveVar returning as 0 value
<p>In my /lib/collection.js SimpleSchema. I am using autoValue to return a reactive var value. The console log gives the right value, but the return value shows "0" Please help!</p>

<pre><code>autoValue: function() {
    console.log(ItemCloudIDVar.get()); 
    a = ItemCloudIDVar.get();
    return a;
}
</code></pre>