Hermetically sealing an opening in the lid