fix coverity