does anyone know how to remove empty items in a listbox? here's an example of what is in my listbox...

#1
#2
(EMPTY SPACE)
#3
#4
(EMPTY SPACE)
#5

i want to remove those empty space, can someone help?