fix bug #1