fix bug #29