fixed a runtime bug with the base class
adjusted gitignore file