Fix chaos metric