fix extension priority