remove duplicate defines