fixed a bug with the lists