fix a bug #1