Fixed coverity issues 18473 and 18472