remove duplicate extension