coverity fixes

:+1: