cookie error fixed