fixed timing on exit