fix: Use of uninitialized value in repeat (x)