got rid of xmin and xmax from the cookie handling