Fix for cookieopts