Fix API issue with custom URLs, and fix small typo