fixed a bug where 2 empty spaces were displayed in a wrong spot