Fixed bug #50.