Resetting Buffer after EOT Case