fixing issue #162