fixed api changes