adding support for phantom errors and cookies