coverity bug fix