fixed api endpoint name