add missing code for heap scanner again
switch to GHC frontend