minor tweak to repeat avoider api