fix require injection