Fix for coverity
Fix for coverity