cleanup and debug double run