Bugfixin with git index