fixing obj AttributeError
update .gitignore to ignore files starting with dot