Coverity 52010
Coverity 51685
Coverity 51690