fix require in example