fixed bug where the wrong list would be displayed on initialization