fix a bug #10