Fixed bug #300