cookie reg fix