Fix two more coverity issues