The lid clicks into place either way, but doesn't work upside down. If the lid doesn't fit well, slide the lid into place a few times and it should adjust. If not, reprint the lid with a higher tolerance.
The files for the lid and case are provided in case one fails.