fix bug 997294 by moving duplicate

OK, trying again more sensibly.