fixes for issues checked out by coverity