proper finalization in the bootstrap file