d'oh, forgot to add the buffer to the maxlen