Fixed warning related to issue #396