fix buffer filler