reconstruct some functions,modify the git url