fixing so fewer uncaught errors get swallowed. closes #35