bug fixes, added .gitattributes