fix require and require git package