Bug fixed for setting lists