fixing migration from r0.9 to 1.0