added more try/except
added more try/except