fixed some bug and add the daily stats

i have no idea here