fix to support a change in transformers

@financeCoding

Change the transformer to work with the next version of pub (as well as the current).