remove duplicate main