fixed a dumb non-flushed buffer bug
I'm retarted but it works