Fixed error where top 2*x reppers were displayed instead of x