cookie error resolved