cookie firing fix