bug fix-ensure that we return extensions