Fixed buffer.

Don't code at 5 in the morning =(