adapt to new pyretic master