keep api same as 0.8.0