fix- Typo and Catch

I was getting hundreds of errors on on page from perhaps an invalid value.  I wrapped section in a try/catch and fixed a typo which had a double semi-colon