finalize saved original code when it will be swapped in