removed unexpected typ exception