fix require location