fix output(replace to repeating)