fixed bug #160