Fix coverity warn