remove duplicate fn