typo with endpoint

This resolves #45