fixed bug #172