fix a few bugs. it works for vive le francegit add -A