Fixes coverity 90670
Fixes coverity 90669