some mods to pestUtil