fix for non-GHC