Origin: Latin suffix -ment
Fly in the ointment has 2 different meanings across 1 category:
an inconvenience that detracts from the usefulness of something
Something (especially a minor thing) which ruins or spoils everything else, or makes it less pleasant; a nuisance or problem; a disagreeable or unpleasant detail.