Made change for toString of empty buffer