removed unnecessary line in buffer