fix bufferline detection