fix the array average post