fix: cookie detect
