added function to test selection list bug