Fixed 2 bugs

fixed ranking list higher than size show repetition
fixed copy error