fixed bug #10

fixed #10