Fix coverity issue