remove methods that were defined twice