fixing upto rep