Fixed Coverity issues Reported