fixed api minor bag 3