Fixed bug #2.