Fix average