fix for Coverity (B.Hippolyte)