fix issue #48