remove cookie code until fixed