example code compile fix for TransitionKit v2