fixing issue #264