Fixed upgrade issue to 0.9