remove duplicate guard