fixed bug #132
fixed bug#133