fix require order