Fixing duplicate word