fixed main of gitlib