fix cleanup on dot-execution stack error