fix extension case