fix a bug in points display

next: upload by drag bug