fixed bug #114