Fix problems on git add