Fix minimize stats bug