fixed bug #279