Type2fix

commit ec7409d may fix issue #7

thx