coverity scan defects fixed

- coverity scan defects handled