Reset formatting on exit