Fixes extension origin function.