Fix for hs compile