fixed some minor formatting before shutting down