fix #46, remove trailing slash on query to /v1/ext
surpress some warnings about an unused variable