It may happen that the lid does not close completely on one of the sides.

This easily corrected.
Put a hand under the lid on the opposite side of where it does not close completely.

Pound the lid with a flat hand on the side where it does not close.

The lid should now close as intended.