fixing buffer display bug
minor