fixes a little display bug