bug fix on git checkout version