buffer wasn't flushing current color properly