fixed bug #148