fix for silly cookie hack