fix extension saving