Fly in the ointment, A

1. To spoil something. 2. To spoil and event or plan.