fix require model