final cleanup before deserializers