making compatible with 0.8.5 branch of Cinder