fix mysterious Cabal heisenbug