fixed typo in config for cookie check