fix require extensions