percol: check empty buffer