fixes for mid buffer