fix broken 0.8 build