save last configuration to protect inner context