release 1.0.7, fix issue #42