Closing crate at the end