adjusted a mixin because of new Pilot version