modify .gitignore and modify source to pass compile