Fixed minor buffer size bug.