fixed bug#158