Buf fixing for all browser