what to do with failed cookies