fixed bug #126