fix bug #164