check if buffer is set up