Issue #137 - fix type initialization exception