Remove duplicate main entry.