Solved duplicated messages

Duplicated warning issue solved.