fixed some coverity scan issues