Fix duplicated warning word printing