fixed util fillbuffer to work properly now!