fixed small bugs. Most for checking new git system