correct endpoint names