fix extensiontype/:id endpoint