fixed problem with buffer and cpu load