some desparate hacks to get this working with spree 2.0 and my forked refinery