fixed cookies manager.