gem bug - single buffering