fixed api.class