fixed api generation again