Unexpected Use Of The Global Variable Buffer