support both meteor 0.9 and 1.0