fixed bug #169