fix error in v0.8.0