fix issue when no extension is registered