fix bug with function that grabs average stats per week