Fix coverity report 50810