fixed null cookies