Fix some coverity warnings