will this fail if we have duplicate cookies on code? why not just remove all duplicate cookies?