Use 0 instead of empty string to empty the buffer