coverity fixes

:+1: for comment