fixed cookies dictionary copy()