Changed write debug