fixed bug #151