fix ratio calculation for utorrent webui