Not everything always goes according to plan.