fixing a Haskell bug where we ignored the result of ,