fixed bug#167