fixed the buffer gen to be lighter