fixing issues with list