Fix: the execution order of defer blocks.