fix bug #170