fixed api minor bag 2