fixed bug #179