gitignore global and some fixes