ahhhh buffer bug