remove duplicate strings useHardwareFramework