debug issue #231