fix bug that scrogged buffer offsets