create script that fixes duplicate listing bug #reva