handle exception reported in issue #359