fixed /cookie problem