fixed bug #221