coverity warnings 15745 15135 fixed