fixed osexception issue

I had to upgrade to v2.8.1 to use osexception