fixed api minor bag 4