repair coverity_scan