write test-passing #repeat(0,0) fix
refactor #repeat(0,0) fix

and remove leftover FIXME comment