tweaks for updated PEG build