fixed bug #1