updated with bug fix for pegasus-statistics