fix endpoint typo