fixed bug #131