Don't modify origin settings dict, copy them before poping