added .gitignore
Fixed error when initial ad was missing